package com.yunfei.api.user.param;

import com.yunfei.api.user.contants.ValitationConstant;
import com.yunfei.contants.ValitationConstantMessage;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 更新账号基本信息
 */
public class UpdateUserInfoParam implements java.io.Serializable{
    @ApiModelProperty(value = "token",required = true)
    private String token;
    @ApiModelProperty(value = "联系方式",required = false)
  /*  @Pattern(regexp= ValitationConstant.MOBILE_REG, message= ValitationConstantMessage.MOBILE_REG_MESSAGE)*/
    private String mobile;
    @ApiModelProperty(value = "昵称")
    private String nickName;//昵称
    @ApiModelProperty(value = "简介",required = false)
    private String remark;
    @ApiModelProperty(value = "头像",required = false)
    private String headIcon;

    public String getHeadIcon() {
        return headIcon;
    }

    public void setHeadIcon(String headIcon) {
        this.headIcon = headIcon;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}